package com.atguigu07._abstract;

/**
 * ClassName: Worker
 * Package: com.atguigu07._abstract
 * Description:
 *                         抽象类中不一定有抽象方法
 * @Author xiao_qi
 * @Create 2024/9/3 20:47
 * @Version 1.0
 */
public abstract class Worker extends Person{


    @Override
    public void eat() {
        System.out.println("工人很辛苦，多吃");
    }


}
